﻿namespace Useful.MVP2
{
    public interface ISelectParams
    {
    }

    public interface IRepository<ListT, ItemT>
        where ItemT : class, new()
    {
        ListT Select(ISelectParams selectParams);

        void Insert(ItemT item);
        void Update(ItemT item);
        void Delete(ItemT item);

        //void Abort();
    }
}
